package cn.cnhis.online.base;

import java.io.Serializable;

public class ResultBean<T> implements Serializable {


    /**
     * result : SUCCESS
     * resultCode : 200
     * resultMsg : 当前产品售后服务已于2018-07-30过期，请联系本司重新获取售后服务！
     * total : 0
     */

    private String result;
    private int resultCode;
    private String resultMsg;
    private int total;
    private T data;

    @Override
    public String toString() {
        return "ResultBean{" +
                "result='" + result + '\'' +
                ", resultCode=" + resultCode +
                ", resultMsg='" + resultMsg + '\'' +
                ", total=" + total +
                ", data=" + data +
                '}';
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
